import 'eventable.dart';
import 'npc.dart';

class TalkEvent extends Eventable {
  TalkEvent() : super('交谈'){

  }
  @override
  void doEvent(dynamic owner) async {
    NPC npc = owner as NPC;
    print(npc.randomSentence());
  }
}